<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>日志</title>
<%@ include file="/pages/common/base/Head6.jsp"%>
<script type="text/javascript"
	src="/${res.contextPath}/js/user/addPerson.js?version=${res.version}"></script>
<script>
	$(function(){
		AddPerson.initPage("${res.contextPath}");	
	});
  </script>
</head>
<body>
	<form class="layui-form">
		<div class="layui-form-item">
			<fieldset class="layui-elem-field layui-field-title"
				style="margin-top: 20px;">
				<legend>相亲添加</legend>
			</fieldset>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">姓名<span style="color: red">*</span></label>
					<div class="layui-input-inline">
						<input type="text" name="userName" lay-verify="required"
							autocomplete="off" placeholder="用户名" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">年龄<span style="color: red">*</span></label>
					<div class="layui-input-inline">
						<input type="text" name="age" lay-verify="required|age"
							autocomplete="off" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">性别<span style="color: red">*</span></label>
				<div class="layui-input-block">
					<input type="radio" name="sex" value="1" title="男"> <input
						type="radio" name="sex" value="0" title="女">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">微信号<span style="color: red">*</span></label>
					<div class="layui-input-inline">
						<input type="text" name="weixin" lay-verify="required"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">身高<span style="color: red">*</span></label>
					<div class="layui-input-inline">
						<input type="text" name="height" autocomplete="off" lay-verify="required|height"
							class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
					<div class="layui-inline">
					<label class="layui-form-label">省份</label>
					<div class="layui-input-inline">
						<select id="provinceCode" name="provinceCode"  lay-search="">
							<z:options method="systemServiceBiz.selectProvince()"  isfull="true" fullName="请选择省份" text="provincial" value ="pid"></z:options>
						</select>
					</div>
					</div>
					<div class="layui-inline">
						<label class="layui-form-label">地市</label>
						<div class="layui-input-inline">
							<select id="eparchyCode" name="eparchyCode"  lay-search="">
								<z:options method="systemServiceBiz.selectCity()"  isfull="true" fullName="请选择地市" text="city" value ="cid"></z:options>
							</select>
						</div>
					</div>
				</div>
			<div class="layui-form-item">
				<label class="layui-form-label">体重范围<span style="color:red">*</span></label>
				<div class="layui-input-inline">
					<select id="weight" name="weight" lay-verify="required">
						<z:options typeId="weight"></z:options>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">急切程度<span style="color:red">*</span></label>
				<div class="layui-input-inline">
					<select id="degree" name="degree" lay-verify="required">
						<z:options typeId="degree"></z:options>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">受教育程度<span style="color:red">*</span></label>
				<div class="layui-input-inline">
					<select id="education_level" name="educationLevel" lay-verify="required">
						<z:options typeId="educationLevel"></z:options>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">学校</label>
				<div class="layui-input-inline">
					<input type="text" name="school" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">职业</label>
				<div class="layui-input-inline">
					<input type="text" name="work" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">另一半要求</label>
				<div class="layui-input-block">
					<textarea placeholder="请输入内容" name="anotherRequest" class="layui-textarea"
						style="width: 500px; height: 100px"></textarea>
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">备注</label>
				<div class="layui-input-block">
					<textarea placeholder="请输入内容" name="remark" class="layui-textarea"
						style="width: 500px; height: 100px"></textarea>
				</div>
			</div>
			<div class="layui-form-item" >
	             <label class="layui-form-label">上传头像</label>
	             <div class="layui-input-inline">
	                 <div class="layui-upload">
	                     <button type="button" name="myfile" class="layui-btn" id="myfile"><i class="layui-icon"></i>上传文件</button>
	                 </div>
	             </div>
	         </div>
	         <div class="layui-form-item" id="picDetail">
	         <label class="layui-form-label">图片</label>
				<div class="layui-input-block">
					<image id="picUrl" width="200" height="200"/>
				</div>
	         </div>
	         <input type="hidden" name="picId" id="picId">
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
				</div>
			</div>
		</div>
	</form>
</body>
</html>